package com.newtouch.bxzs.business.train.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.newtouch.bxzs.business.train.model.bo.KnowledgeBaseBO;
import com.newtouch.bxzs.common.base.model.KnowledgeBase;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 知识库mapper
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/11 9:32</td>
 * <td>lingshouyi</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author lingshouyi
 * @version 1.0.0
 * @since 1.0.0
 */
@Mapper
public interface KnowledgeBaseMapper extends BaseMapper<KnowledgeBase> {

    IPage<KnowledgeBaseBO> getKnowledgeBaseList(@Param("createUserId") String createUserId, @Param("knowledgeBaseTitle") String knowledgeBaseTitle, @Param("knowledgeBaseType") String knowledgeBaseType, @Param("publishStatus") String publishStatus, @Param("page") Page<KnowledgeBaseBO> page);

}
